import FingerprintJS from "@fingerprintjs/fingerprintjs";

// 获取用户指纹
export const getFingerprint = async () => {
  const fp = await FingerprintJS.load();
  const result = await fp.get();
  return result.visitorId;
};
